package com.itqf.di;

import lombok.Data;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/13
 * @Time: 下午2:21
 */
@Data
public class Student {

    private  String  name;

    private  int  sno  ;

    private Book book;

    private  String  sex;

    public  Student(){}

    public Student(String n, int sno, Book book) {
        this.name = n;
        this.sno = sno;
        this.book = book;
    }

    public Student( int sno,String sex, Book book) {
        this.name = sex;
        this.sno = sno;
        this.book = book;
    }
}
